<?php

use Illuminate\Support\Facades\Route;

//'namespace' => 'Home','middleware' => 'channel'
//网站首页 产品中心 应用领域 服务支持  关于我们
Route::group(['middleware' => ['channel','link','adsense','config']], function () {
    Route::group([], function () {
        Route::get('/','IndexController@index')->name('home.index.index');
    });
    Route::group(['prefix' => 'ecology'], function () {
        Route::get('/','EcologyController@index')->name('home.ecology.index');
    });
    Route::group(['prefix' => 'service'], function () {
        Route::get('/','ServiceController@index')->name('home.service.index');
    });
    Route::group(['prefix' => 'case'], function () {
        Route::get('/','CaseController@index')->name('home.case.index');
        Route::get('/dms','CaseController@dms')->name('home.case.dms');
        Route::get('/erp','CaseController@erp')->name('home.case.erp');
        Route::get('/show','CaseController@show')->name('home.case.show');
    });
    Route::group(['prefix' => 'new'], function () {
        Route::get('/','NewController@index')->name('home.new.index');
        Route::get('/show','NewController@show')->name('home.new.show');
    });
    Route::group(['prefix' => 'product'], function () {
        Route::get('/shop','ProductController@shop')->name('home.product.shop');
        Route::get('/dms','ProductController@dms')->name('home.product.dms');
        Route::get('/erp','ProductController@erp')->name('home.product.erp');
    });
    Route::group(['prefix' => 'about'], function () {
        Route::get('/','AboutController@index')->name('home.about.index');

    });
    Route::group(['prefix' => 'share'], function () {
        Route::get('/','ShareController@index')->name('home.share.index');
        Route::get('/show','ShareController@show')->name('home.share.show');
    });
});

